home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / wordmisc / pcproof / install.bat next >
Encoding:
DOS Batch File  |  1993-02-19  |  2.0 KB  |  52 lines

  1. @ECHO OFF
  2. ECHO             PC-PROOF HARD DISK INSTALLATION INSTRUCTIONS
  3. ECHO Make a new directory for PC-Proof and switch to it.  Example:
  4. ECHO MKDIR PCPROOF
  5. ECHO CD PCPROOF
  6. ECHO Then type the command A:INSTALL if you are installing from drive A: or
  7. ECHO B:INSTALL B: if you are installing from drive B:.
  8. ECHO You will need 850K bytes free on your hard disk.
  9. ECHO ╔═══════════════════════════════════════════════════════╗
  10. ECHO ║ DID YOU MAKE A SUBDIRECTORY AND MADE IT YOUR DEFAULT? ║
  11. ECHO ╚═══════════════════════════════════════════════════════╝
  12. ECHO Press Control-C to stop installation.
  13. pause
  14. IF exist PC-PROOF.EXE goto ndrive
  15. IF %1. == . goto NDEFDRV
  16. If not exist %1\nul goto NEEDARG
  17. IF not exist %1PC-PROOF.EXE goto NEEDARG
  18. %1PC-PROOF.EXE /e.
  19. IF not exist pcproof.tut goto ERROR
  20. goto COPYDONE
  21. :NDEFDRV
  22. If not exist a:\nul goto NEEDARG
  23. IF not exist a:PC-PROOF.EXE goto NEEDARG
  24. a:PC-PROOF.EXE /e.
  25. IF not exist pcproof.tut goto ERROR
  26. :COPYDONE
  27. If not errorlevel 0 goto ERROR
  28. more < pcproof.doc
  29. ECHO Installation is complete, type PCPROOF to start the program.
  30. goto done
  31. :ndrive
  32. ECHO You cannot install PC-Proof while your default drive is the same as
  33. ECHO the installation drive.  Please switch to the drive and subdirectory
  34. ECHO you want to install PC-Proof to.
  35. goto fail
  36. :ERROR
  37. echo One or more of the PC-Proof files failed to copy. Check if there is
  38. echo 850K bytes avaliable on your hard disk.  Also check if the drive
  39. echo is not write protected.  Then, restart this installation.
  40. goto fail
  41. :NEEDARG
  42. ECHO The installation disk was not correctly specified.  If you are not
  43. ECHO installing from drive A:, you need to supply the drive letter to
  44. ECHO the INSTALL command.  If you are installing from drive B:, issue the
  45. ECHO command B:INSTALL B: (Make sure to include B: after INSTALL.)
  46. :fail
  47. ECHO   ╔═════════════════════════════════════════════════════╗
  48. echo   ║  PC-Proof has not been installed, please try again. ║
  49. ECHO   ╚═════════════════════════════════════════════════════╝
  50. :done
  51.  
  52.